<?php
require_model('base.class');
class patientRegistrationDetail extends base {
    private $table = 'PatientRegistrationDetail';
    private $primary = 'Id';
    function __construct() {
        parent::__construct($this->table,$this->primary);
    }
    function CreateRegistrationDetail() {

    }
    function ModifyRegistrationDetail() {

    }
    function GetRegistrationDetailByRegistrationId($registation_id) {
        return $this->get_item(array('RegistrationId'=>$registation_id));
    }
}